package com.pinusmusic.service;

import com.pinusmusic.domain.Favorite;
import com.pinusmusic.domain.PageBean;
import com.pinusmusic.domain.User;

import java.util.List;

public interface AdminService {
    boolean findAdminByNameAndPassword(String adminname, String adminpassword);

    List<User> findAllUser();

    void deleteUserByUid(int uid);

    void updateComment(int uid);

    int findCount();

    PageBean<User> findUserByPage(int pageSize, int currentPage);

    void deleteFavByUid(int uid);

    void deleteComByUid(int uid);

    void open(int parseInt);

    List<Favorite> findFavByUid(int uid);
}
